import Vue from 'vue'
import Vuex from 'vuex'

import getters from './getters'

import message from './modules/message'
import userinfo from './modules/userinfo'
import sorket from './modules/socketService'
import operation from "./modules/operation.js"
import state from './modules/state'
import videos from './modules/videos'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
	message,
	userinfo,
	sorket,
	operation,
	state,
	videos
  },
  getters
})

export default store
